package com.zxkj.commonpatrol.adapt;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.zxkj.commonpatrol.R;
import com.zxkj.commonpatrol.model.response.DevTypeExtendInfo;
import com.zxkj.commonpatrol.model.response.PointInspectEvent;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public class QuestEventListAdapt extends BaseQuickAdapter<String, BaseViewHolder> {
    public QuestEventListAdapt(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, @Nullable String s) {
        baseViewHolder.setText(R.id.tv_list,(baseViewHolder.getLayoutPosition()+1)+s);
    }
}
